secret_key_base: <%= Random::Secure.urlsafe_base64(32) %>
port: 8080
name: <%= @name %>

logging:
  severity: debug
  colorize: true
  filter:
    - password
    - confirm_password

host: 0.0.0.0
port_reuse: true
process_count: 4
# ssl_key_file:
# ssl_cert_file:
redis_url: "redis://localhost:6379"
<% case @database
when "mysql" -%>
database_url: mysql://root@localhost:3306/<%= database_name %>
<% when "pg" -%>
database_url: <%= "postgres://postgres:#{ENV["POSTGRES_PASSWORD"]? || "password"}@localhost:5432/#{database_name}" %>
<% when "sqlite" -%>
database_url: sqlite3:./db/<%= database_name %>.db
<% else
end -%>
auto_reload: false

session:
  key: amber.session
  store: signed_cookie
  expires: 0

smtp:
  host: smtp.sendgrid.com
  port: 25
  tls: true
  username: api_key
  enabled: false

pipes:
  static:
    headers:
      "Cache-Control": "private, max-age=3600"

secrets:
  description: Store your production secrets credentials and settings here.
